﻿namespace winS.UnityEditor.UIElement
{
    /// <summary>
    /// Box container.
    /// </summary>
    public class Box : EditorElement
    {
        protected internal Box(ElementFactory elementFactory) : base(elementFactory)
        {
            style.SetMargin(2f);
            style.SetPadding(2f);
            style.SetBackgroundColor(ColorLevelUtility.GetColor(6));
            style.SetBorder(elementFactory.borderColor, 1f, 4f);
        }
    }
}